package com.xyht.sca_s.student_manage_system.modules.newTips.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsApplicationResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 新消息通知
 * </p>
 *
 * @author XYHT
 * @since 2023-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_new_tips")
@ApiModel(value="SmsNewTips对象", description="新消息通知")
public class SmsNewTipsAndRecordRespEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息通知id")
    private String tipsId;

    @ApiModelProperty(value = "消息记录id")
    private String recordId;

    @ApiModelProperty(value = "消息通知类型  1：消息   2：待办   3：审核")
    private Integer tipsType;

    @ApiModelProperty(value = "消息发起人")
    private String tipsCreator;

//    @ApiModelProperty(value = "消息通知范围类型 0：全通知  1：个人通知  2：角色通知  3：组织通知")
//    private Integer tipsRangeType;

//    @ApiModelProperty(value = "消息通知范围id集合  ")
//    private String tipsRange;

//    @ApiModelProperty(value = "消息通知抄送范围类型  0：全抄送  1：个人抄送  2：组织抄送  3：角色抄送")
//    private Integer tipsCopyType;
//
//    @ApiModelProperty(value = "抄送id集合")
//    private String tipsCopy;

    @ApiModelProperty(value = "当前消息创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date recordCreateTime;

    @ApiModelProperty(value = "消息源创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date tipsCreateTime;

//    @ApiModelProperty(value = "过期时间")
//    private Date expirationTime;

//    @ApiModelProperty(value = "消息通知是否关闭   0：未关闭   1：关闭")
//    private Integer isClose;

    private SmsApplicationResp applicationResp;

    private SmsTipsUserResp userResp;

    @ApiModelProperty(value = "消息通知绑定事件的id")
    private String eventId;

    @ApiModelProperty(value = "通知用户id")
    private String recordUserId;

    @ApiModelProperty(value = "记录状态  1：待我审核  2：审核中  3：关于我的  4：已拒绝  5：已结束  6：抄送")
    private Integer recordStatus;

    @ApiModelProperty(value = "已读标志位  0：未读  1：已读")
    private Integer isRead;

    private String processDetailId;

    @ApiModelProperty(value = "消息通知内容")
    private String recordContent;

}
